package com.wjc.server.dto;

import javax.validation.constraints.NotNull;

public class SectionPageDto extends PageDto{

    @NotNull(message = "大章ID不能为空")
    private Long chapterId;

    public Long getChapterId() {
        return chapterId;
    }

    public void setChapterId(Long chapterId) {
        this.chapterId = chapterId;
    }


    @Override
    public String toString() {
        return "SectionPageDto{" +
                "chapterId=" + chapterId +
                "} " + super.toString();
    }
}
